Apple, the Apple logo, and Macintosh are registered trademarks of Apple Computer, Inc.
Mac and OpenDoc are trademarks of Apple Computer, Inc.
What's OpenDoc TSM Addition?
The OpenDoc TSM Addition provides a solution to share a single TSM document data structure among all the parts in an OpenDoc document. The input method which supports multi-session, such as Kotoeri, allocates 5 to 10 K byte in the application heap area for every TSM document (TSM session). A text editing part which is embedded in an OpenDoc document/container will be able to reduce application heap by sharing the TSM document.
This library will be installed with OpenDoc-J or a third party product. It means there is no guarantee that the API of the library is always available even if OpenDoc is installed. Therefore, the OpenDoc part needs to import this library as ˙weak import˙ at the object linking process.
How to install
Drop 'OpenDoc TSM Addition' shared library into Extensions:OpenDoc Libaraies folder in your system folder. You don't need to restart your machine.
How to link with your part
The OpenDoc part needs to import directly this library as ˙weak import˙ at the object linking process.
Header file
"ShareTSM.h" is a header file for development of your part which supports TSM sharing. It need to be included in the source code of your part. There are three function definitions in the TSM sharing API.
TSMTE sample
By Apple Japan, DTS
Nov 12, 1996
This is based "SamplePart".
I have built/tested it with CW9/PPC only.
I wrote tsmUtl.cpp and tsmUtl.h, it contains 7 routines.